package com.youlai.boot.bmp.converter;

import org.mapstruct.Mapper;
import com.youlai.boot.bmp.model.entity.FormWorkflowBinding;
import com.youlai.boot.bmp.model.form.FormWorkflowBindingForm;

/**
 * 单与工作流绑定对象转换器
 *
 * @author rabit
 * @since 2025-11-04 16:22
 */
@Mapper(componentModel = "spring")
public interface FormWorkflowBindingConverter{

    FormWorkflowBindingForm toForm(FormWorkflowBinding entity);

    FormWorkflowBinding toEntity(FormWorkflowBindingForm formData);
}
